package day05;

import java.util.Scanner;

public class Test02 {
    public static void main(String[] args) {
        Scanner scan=new Scanner(System.in);
      int x= scan.nextInt();
      double y;
      if (x<=10){
          y=2;
      }else {
          y=2+(x-10)*0.2;
      }
        System.out.println("打车话费了"+y+"元");
    }
}
